load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
    name = "paho.mqtt.cpp",
    srcs = glob(["src/*.cpp"]),
    hdrs = glob(["include/mqtt/*.h"]),
    includes = ["include"],
    local_defines = [
        "PAHO_MQTTPP_EXPORTS",
        "OPENSSL",
    ],
    visibility = ["//visibility:public"],
    deps = ["@paho.mqtt.c"],
)
